package com.dyj.applet.handler;

import com.dtflys.forest.annotation.JSONBody;
import com.dtflys.forest.annotation.Post;
import com.dyj.applet.domain.query.ImageCensorQuery;
import com.dyj.applet.domain.query.TextAntiDirtQuery;
import com.dyj.applet.domain.vo.ImageCensorVo;
import com.dyj.common.config.AgentConfiguration;
import com.dyj.common.domain.DySimpleResult;
import com.dyj.common.domain.query.DeveloperNotifyQuery;
import com.dyj.common.domain.vo.TextAntiDirtVo;
import com.dyj.common.interceptor.SubscriptionTokenInterceptor;

import java.util.List;

/**
 * 触达与营销->订阅消息
 */
public class NotificationSubscriptionHandler extends AbstractAppletHandler{

    public NotificationSubscriptionHandler(AgentConfiguration agentConfiguration) {
        super(agentConfiguration);
    }

    /**
     * 触达与营销->订阅消息->给用户发送订阅消息
     * @param body 给用户发送订阅消息请求值
     * @return
     */
    public DySimpleResult<Void> developerNotify(DeveloperNotifyQuery body){
        baseQuery(body);
        return getNotificationSubscriptionClient().developerNotify(body);
    }

}
